<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
	




	/**
	 * 
	 * Common
	 * 
	 * Model to manage all the common parts of the
	 * software development like Web site name
	 */
	class Common extends CI_Model {
		
		
		
		
		
		/**
		 * __construct
		 */
		public function __construct () {
			parent::__construct();
		}
		// end: __construct
		
		
		
		
		
		/**
		 * 
		 * is_logged_in
		 * 
		 * method to get the session status, if the session is started this method return true
		 * or false in another case
		 * 
		 * @return Boolean
		 */
		public function is_logged_in () {
			if ( $this->session->userdata('cisco_session_username') && $this->session->userdata('cisco_session_usertype') )
				return TRUE;
			else
				return FALSE;
		}
		// end: is_logged_in
	}
	// end: Common